package edu.sctu.zhengsenwen.month201505.day20150504;

/**
 * Created by user15 on 2015/5/4.
 */
public class Dog {



    public static void main(String[] args) {

        System.out.println("***** Dog's Information *****");

        InterfaceDog dog = new InterfaceDog() {
            @Override
            public int getWorth(String color, int size, String action) {

                System.out.println("The dog color is:  " + color + ",  size is:  " + size + ", action is:  " + action);
                return 0;
            }
        };

        new NewDog().newDog(dog);
    }
}
